/*
 *  c_board_array.h
 *  Maciago
 *
 *  Created by mmarcos on Sun Mar 31 2002.
 *  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
 *
 */

#import <stdio.h>
#import <stdlib.h>
#import <string.h>

#import "logic.h"

struct board_array
{
    struct board_data *first;
    int size;
};


struct board_array *board_array_create ();
void board_array_dispose (struct board_array *array);
void board_array_add (struct board_array *v, struct board_data *data);
int board_array_count (struct board_array *v);
void board_array_clear (struct board_array *v);
struct board_data *board_array_last_item (struct board_array *v);
struct board_data *board_array_index (struct board_array *v, int pos);
